/**********************************************************************
 * Project : WoWGuildRoster (http://www.codeplex.com/WowGuildRoster/)
 * Module  : DotNetWarcraft.WoWGuildRoster.UI.DNN.WGR_About
 **********************************************************************
 * 
 * 
 * 
 **********************************************************************
 * License : All code is subject to licensing terms per the Microsoft
 *   Permissive License (Ms-PL) v1.1. For full license information,
 *   refer to the packaged license.txt file.
 **********************************************************************
 * Revision History:
 * -----------------
 * 2007-08-26 -- Cliff Simpkins: Initial Version
 * 2007-09-02 -- Cliff Simpkins: Added Officer/Member visibility props
 *                 and adding logic for error message label
 **********************************************************************
 */
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using DotNetNuke;
using DotNetNuke.Common;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Services.Localization;
using DotNetNuke.Services.Exceptions;

using WGR_Business = DotNetWarcraft.WoWGuildRoster.Business;


namespace DotNetWarcraft.WoWGuildRoster.UI.DNN {
  public partial class WGR_About : PortalModuleBase {

    protected void Page_Load(object sender, EventArgs e) {
      //Version name is first line to force the proper controller :)
      this.hlDNW_WGR_site.Text = WGR_Business.DnnGuildRosterController.ApplicationName;
      this.hlDNW_WGR_site.NavigateUrl = WGR_Business.WGRDnnConstants.DNW_WGR_DNN_URL;

      this.lblBuildNumber.Text = "[Version " + WGR_Business.WGRDnnConstants.DNW_WGR_DNN_VERSION_MAJOR + "." +
            WGR_Business.WGRDnnConstants.DNW_WGR_DNN_VERSION_MINOR + "." + 
            WGR_Business.WGRDnnConstants.DNW_WGR_DNN_VERSION_REVSN + "; Build " + WGR_Business.WGRDnnConstants.DNW_WGR_DNN_VERSION_BUILD + "]";
    }

  }
}